home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.rock;
-
- import com.extensibility.app.UI;
- import java.awt.event.ActionEvent;
- import javax.swing.text.JTextComponent;
-
- public class RTable$ClearAction extends RAction {
- // $FF: synthetic field
- final RTable this$0;
-
- public RTable$ClearAction(RTable var1) {
- super(UI.getString("edit.item.clear"), 66);
- this.this$0 = var1;
- }
-
- public void actionOccurred(ActionEvent var1) {
- JTextComponent var2 = this.this$0.getCellEditorAsJTextComponent();
- if (var2 != null) {
- var2.replaceSelection("");
- } else {
- this.this$0.clear();
- }
-
- RTable.access$5000071(this.this$0);
- }
- }
-